package nc.ui.acm.basicdoc.currate;

import nc.itf.acm.pub.ACMBillType;
import nc.ui.acm.pub.bill.manage.ACMBillManageCtrl;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.button.IBillButton;
import nc.vo.acm.basicdoc.currate.CurrateVO;
import nc.vo.trade.pub.HYBillVO;

public class CurRateCtrl extends ACMBillManageCtrl implements ISingleController {

	public CurRateCtrl() {
		super();
	}

	public String getBillType() {
		return ACMBillType.CURRATE;
	}

	@Override
	public String[] getBillVoName() {
		return new String[] { HYBillVO.class.getName(), CurrateVO.class.getName(), CurrateVO.class.getName() };
	}

	@Override
	public int[] getCardButtonAry() {
		return new int[] { IBillButton.Query, IBillButton.Add, IBillButton.Edit, IBillButton.Save, IBillButton.Cancel, IBillButton.Delete, IBillButton.Commit, IBillButton.Audit, IBillButton.CancelAudit, IBillButton.Return,
				IBillButton.Refresh };
	}

	@Override
	public int[] getListButtonAry() {
		return new int[] { IBillButton.Query, IBillButton.Add, IBillButton.Edit, IBillButton.Save, IBillButton.Cancel, IBillButton.Delete, IBillButton.Commit, IBillButton.Audit, IBillButton.CancelAudit, IBillButton.Card,
				IBillButton.Refresh };
	}

	public boolean isSingleDetail() {
		return false;
	}
}
